//
//  AppendDetailsModel.m
//  YuTang
//
//  Created by 葛悦彣 on 2024/9/6.
//

#import "AppendDetailsModel.h"

@implementation AppendDetailsModel
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{
        @"ID":@"id",
        @"Template":@[@"template"],
    };
}

- (CGFloat)breedTypeH{
    if(_breedTypeH == 0){
        _breedTypeH = [DTKTool textWithtitle:[NSString stringWithFormat:@"养殖品种:%@", self.breedType] andSize:CGSizeMake(kwt(330), 1000) andFout:kFont(15)].height;
        if(_breedTypeH < kwt(16)){
            _breedTypeH = kwt(16);
        }
    }
    return _breedTypeH;
}
@end

@implementation AppendDetailsPondTaskCountModel

+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{
        @"pondTaskCountModel":[AppendDetailsPondTaskCountModel class],
    };
}
@end
